﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using NCKH.View;
using NCKH.View.ThongKe;
using NCKH.ThongKe;
using System.Linq;

namespace NCKH.View.ThongKe
{
    public partial class frmDanhSachLopTinChiChiTiet : DevExpress.XtraEditors.XtraForm
    {
        public frmDanhSachLopTinChiChiTiet()
        {
            InitializeComponent();
        }

        private void frmDanhSachLopTinChiChiTiet_Load(object sender, EventArgs e)
        {
            Context db = new Context();
            var values = db.View_DanhSachChiTietLTC_1s.Where(p => p.Ma_lop_tc == frmTKLopTinChi.MaHocPhan).ToList();
            viewDanhSachChiTietLTC1BindingSource.DataSource = values;

        }
    }
}